]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
lookingGlass: bring back the inspector icon
authorDan Winship <danw@gnome.org>
Fri, 1 Apr 2011 16:22:32 +0000 (12:22 -0400)
committerDan Winship <danw@gnome.org>
Mon, 11 Apr 2011 14:59:32 +0000 (10:59 -0400)
The change to StTextureCache for bug 644142 broke lg's inspector icon,
which was not specifying St.IconType.FULLCOLOR, but was relying on the
fact that SYMBOLIC (the default) would fall back to it. Fix the icon
by specifying FULLCOLOR explicitly.

(We should probably be using a symbolic icon here, but there is no
available icon with a select/pick/point-to/etc kind of meaning.)

https://bugzilla.gnome.org/show_bug.cgi?id=646451

js/ui/lookingGlass.js

index ede95a16181e233416a819ab992c596bcd97beee..2c97cc5190cb6252b490cd8f89be66646b3d10f6 100644 (file)
@@ -707,6 +707,7 @@ LookingGlass.prototype = {
         let toolbar = new St.BoxLayout({ name: 'Toolbar' });
         this.actor.add_actor(toolbar);
         let inspectIcon = new St.Icon({ icon_name: 'gtk-color-picker',
+                                        icon_type: St.IconType.FULLCOLOR,
                                         icon_size: 24 });
         toolbar.add_actor(inspectIcon);
         inspectIcon.reactive = true;